#pragma once

#include "resource.h"
#include "afxshelllistctrl.h"
//class CViewYourFileView
//{
//public:
//	CViewYourFileView(void);
//	~CViewYourFileView(void);
//};

class CViewYourFileView : public CFormView
{

	/*GdiplusStartupInput gdiplusStartupInput;
	ULONG_PTR gdiplusToken;*/
protected: // create from serialization only
	CViewYourFileView();
	DECLARE_DYNCREATE(CViewYourFileView)

public:
	enum{ IDD = IDD_VIEWFILE_FORM };

// Attributes
public:
	CViewYourFileView* GetDocument() const;
//private:
//	CViewImageControl *m_pCViewControl;
//public:
//	void ShowBigPicture();
//	//CImageControl	*m_pBigImageControl;
//public:
//	CPictureCommon	*m_pBigImageControl;
//
//	void CreateGroupViewImage();
// Operations
public:

// Overrides
public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnInitialUpdate(); // called first time after construct

// Implementation
public:
	virtual ~CViewYourFileView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	afx_msg void OnFilePrintPreview();
	afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnPaint();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	CMFCShellListCtrl m_nMFCShellListCtrl;
	afx_msg void OnBnClickedButton1();
	afx_msg void OnBnClickedButton2();
};

#ifndef _DEBUG  // debug version in ViewYourImageView.cpp
inline CViewYourImageDoc* CViewYourFileView::GetDocument() const
   { return reinterpret_cast<CViewYourImageDoc*>(m_pDocument); }
#endif